/**
 * 通用js方法封装处理
 * Copyright (c) 2019 ruoyi
 */

// 添加日期范围
export function addFinishDateRange(params, dateRange) {
	console.log("dateWorkRange :"+dateRange);
	console.log("是否是数组 :"+Array.isArray(dateRange));
	var search = params;
	search.startTime = "";
	search.finishTime = "";
	if (null != dateRange && '' != dateRange) {
		search.startTime = dateRange[0];
		search.finishTime = dateRange[1];
		console.log("dateWorkRange 3333:"+dateRange[0]);
	}
	return search;
}
